#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : micah
# @time    :  
# @function: 
# @version :


import random
import time

from selenium import webdriver


browser = webdriver.Chrome()
browser.get('https://36kr.com/')
for i in range(1,9):
    time.sleep(random.randint(100, 300)/1000)
    browser.execute_script('window.scrollTo(0, {})'.format(i * 700))

time.sleep(3)

browser.quit()
